package com.example.muasic.service;

import android.graphics.Bitmap;
import android.media.MediaPlayer;

import com.example.muasic.info.Info;

import java.util.List;

/**
 * Created by so on 2018/1/26.
 */

public interface IService {
    //1. 定义接口IService, 添加调用函数, 调用MusicService中对应的函数
    public void callPlayMusic(String path);

    public void callsetNowBitList(List<Bitmap> List);

    public List<Bitmap> callgetNowBitList();

    public List<Info> callNowMusicList();

    public void 6();

    public void callgetNowmusicList(List<Info> list);

    public long callgetNowMusicId();

    public void callDestroyMusic();

    public void callConMusic();

    public int callgetNowMusic();

    public int callNowPlayMode();

    public MediaPlayer callgetMediaPlayer();

    public void callgetplaymode(int mode);

    public void callNowMusic(int path1) ;

    public void callSeekToPos(int pos);
}
